<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!doctype html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>童话世界</title>
<meta name="description" content="一个充满童话世界的地方，带你回味童年." />
<meta name="keywords" content="童话、英雄和魔法" />
<link rel="shortcut icon" href="images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/default.css">
<link rel="stylesheet" type="text/css" href="css/login.css">
</head>

<body>
	<div class="htmleaf-container">
		<div class="login-wrap">
			<div class="login-html">
				<input id="tab-1" type="radio" name="tab" class="sign-in" checked><label
					for="tab-1" class="tab">登录</label> <input id="tab-2" type="radio"
					name="tab" class="sign-up"><label for="tab-2" class="tab">注册</label>
				<div class="login-form">
					<!-- 登录部分 -->
					<form action="${pageContext.request.contextPath}/userlogin"
						method="post">
						<div class="sign-in-htm">
							<div class="group">
								<label for="select" class="label">请选择你的选择身份:</label> <select
									class="input" style="color: black;">
									<option value="管理员">管理员</option>
									<option value="用户">用户</option>
								</select>
							</div>
							<div class="group">
								<label for="user" class="label">用户名:</label> <input id="user"
									type="text" name="username" class="input">
							</div>
							<div class="group">
								<label for="pass" class="label">密码:</label> <input id="pass"
									type="password" name="password" class="input"
									data-type="password">
							</div>
							<div class="group">
								<input id="check" type="checkbox" class="check" checked>
								<label for="check"><span class="icon"></span> 保持登录:</label>
							</div>
							<div class="group">
								<input type="submit" class="button" style="text-align: center;"
									value="登录">
							</div>
							<div class="hr"></div>
							<div class="foot-lnk">
								<label for="tab-1">2020-forever</label>
							</div>
						</div>
					</form>

					<!-- 注册部分 -->
					<form action="<%=request.getContextPath()%>/userReg" method="post">
						<div class="sign-up-htm">
							<div class="group">
								<label for="user" class="label">用户名:</label> <input id="user"
									type="text" name="username" class="input">
							</div>
							<div class="group">
								<label for="pass" class="label">密码:</label> <input id="pass"
									type="password" name="password" class="input"
									data-type="password">
							</div>
							<div class="group">
								<label for="pass" class="label">重复密码:</label> <input id="pass"
									type="password" name="repassword" class="input"
									data-type="password">
							</div>
							<div class="group">
								<input class="button" type="submit" style="text-align: center;"
									value="注册">
							</div>
							<div class="hr"></div>
							<div class="foot-lnk">
								<label for="tab-1">2020-forever</label>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>